from openpyxl import load_workbook
wb=load_workbook("D://Test.xlsx")
ws=wb.active

ws.move_range("A2:G48",5,3)     #单元格的移动位置 正数向右向下，负数向左向右

wb.save("D://Test.xlsx")